package aop04;

public class EmpServiceImpl implements EmpService {
    String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void regist() {
        System.out.println("Emp注册方法执行了");
    }

    @Override
    public void getAll() {
        System.out.println("Emp查询所有方法执行了");
    }

    @Override
    public void doSome() {
        System.out.println("Emp   doSome方法执行了");
    }

    @Override
    public void doOther(String name) {
        System.out.println("Emp   doOther方法执行了"+name);
    }
}
